-- GENERATED SPELL FOR [Gangled Cannibal] --


function spell0_16309(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_16309', 528, 1)
end

function Sorts_16309(pUnit, Event)
local choix_sorts_16309 = math.random(0, 0)
if choix_sorts_16309 == 0 then
pUnit:RegisterEvent('spell0_16309', 1, 1)
end
end

function mob16309_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16309', math.random(1500, 3000), 1)
end

function mob16309_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16309_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16309_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16309, 1, 'mob16309_Action')
RegisterUnitEvent(16309, 2, 'mob16309_Leave')
RegisterUnitEvent(16309, 3, 'mob16309_Kill')
RegisterUnitEvent(16309, 4, 'mob16309_Die')
